package com.missilike.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author pengpengli
 * @since 2018-12-19
 */
public class MilContentTransmit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户Id
     */
    private String accountId;

    /**
     * 被点赞内容Id
     */
    private Long contentId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 文章类型 1图文  2长文
     */
    private Integer contentType;

    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public MilContentTransmit() {
    }

    public MilContentTransmit(String accountId, Long contentId, LocalDateTime createTime, Integer contentType, String content) {
        this.accountId = accountId;
        this.contentId = contentId;
        this.createTime = createTime;
        this.contentType = contentType;
        this.content = content;
    }

    @Override
    public String toString() {
        return "MilContentTransmit{" +
                "id=" + id +
                ", accountId='" + accountId + '\'' +
                ", contentId=" + contentId +
                ", createTime=" + createTime +
                ", contentType=" + contentType +
                ", content='" + content + '\'' +
                '}';
    }
}
